//
//  LXMotionAction.h
//  LXLocationRelated
//
//  Created by Livespro on 2017/10/19.
//  Copyright © 2017年 Livesxu. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <CoreMotion/CoreMotion.h>

typedef void(^MotionBlock)(CMDeviceMotion *motion);

@interface LXMotionAction : NSObject

+ (instancetype)shareMotion;

@property (nonatomic, strong) CMMotionManager *motionManager;

- (void)start;

@property (nonatomic, strong) MotionBlock motionBlock;

@end
